package com.mjh.zhujianju;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan(basePackages = { "com.mjh.zhujianju", "com.livew" })
@MapperScan(basePackages = { "com.mjh.zhujianju.dao", "com.livew.framework.base.dao"})
@EnableTransactionManagement
public class ApplicationAPI {

	public static void main(String[] args) {
		System.out.println("==============启动=======================");
		SpringApplication.run(ApplicationAPI.class, args);
		System.out.println("==============结束=======================");
	}

}
